package com.gufe;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
@EnableAsync//启用异步启动
@EnableTransactionManagement // 启用事务管理
@EnableCaching  // 开启缓存注解功能
public class ZbtServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZbtServerApplication.class, args);
    }
}
